{% comment %}

 Copyright 2013 - Tom Alessi

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and 
 limitations under the License.

{% endcomment %}

<!DOCTYPE html>
<!--[if IE 8]>         <html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->

 <head>
  <title>{{title}}</title>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 

  <!-- Set the viewport for mobile optimization -->
  <meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">

  <link rel="stylesheet" href="/html/css/foundation.css" />
  <link rel="stylesheet" href="/html/css/normalize.css" />
  <link rel="stylesheet" href="/html/css/dark-hive/jquery-ui-1.10.3.custom.css" />
  <link rel="stylesheet" media="screen"  href="/html/css/responsive-tables.css" />
  <link rel="stylesheet" href="/html/css/app.css">

  <script type="text/javascript" src="/html/js/vendor/custom.modernizr.js"></script>
  <script type="text/javascript" src="/html/js/jquery-1.9.1.js"></script>
  <script type="text/javascript" src="/html/js/jquery-ui-1.10.3.custom.js"></script>
  <script type="text/javascript" src="/html/js/responsive-tables.js"></script>
  <script type="text/javascript" src="/html/js/jquery-ui-timepicker-addon.js"></script>

 </head>
 <body>


<nav class="top-bar">
  <ul class="title-area">
    <li class="name"></li>
    <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
    <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
  </ul>

  <section class="top-bar-section">
    <!-- Left Nav Section -->
    <ul class="left">
      
      <li class="divider"></li>
      <li ><a href="/">Home</a></li>

      <li class="divider"></li>
      <li ><a href="http://www.berper.org">Documentation</a></li>

      <li class="divider"></li>
      <li class="has-dropdown"><a href="#">Reports</a>
        <ul class="dropdown">
          <li><a href="/reports/sscans">Spidered Scans</a></li>
          <li><a href="/reports/tscans">Targeted Scans</a></li>
        </ul>
      </li>
      
      <li class="divider"></li>
      <li class="has-dropdown"><a href="#">Admin</a>
        <ul class="dropdown">
          <li class="has-dropdown"><a href="#">Scan Setup</a>
            <ul class="dropdown">
              <li><a href="/adm/sscans">Spidered Scans</a></li>
              <li><a href="/adm/tscans">Targeted Scans</a></li>
            </ul>
          </li>
          <li><a href="/adm/config">Configuration Manager</a></li>
          <li><a href="/adm/scheduler">Scheduler</a></li>
          <li><a href="/accounts/logout">Logout ({{user.username}})</a></li>
        </ul>
      </li>
      <li class="divider hide-for-small"></li>
    </ul>

    <!-- Title -->
    <ul>
     <li class="name hide-for-small">
      <h1><a href="#">{{title}}</a></h1>
     </li>
    </ul>

    <!-- System Time -->
    <ul>
     <li class="name hide-for-small right">
      <h1>{% now "Y-m-d H:i:s" %}&nbsp;</h1>
     </li>
    </ul>

  </section>
</nav>

<div>
  <span style="float:right">Tom Alessi <a href="logout">logout</a>&nbsp;</span>
</div>

<div class="row">
  <div class="large-12 large-centered columns">
  {% block content %}

  {% endblock %}
  </div>
</div>


<script>
  document.write('<script src=' +
  ('__proto__' in {} ? '/html/js/vendor/zepto' : '/html/js/vendor/jquery') +
  '.js><\/script>')
  </script>
  <script src="/html/js/foundation/foundation.js"></script>
  <script src="/html/js/foundation/foundation.alerts.js"></script>
  <script src="/html/js/foundation/foundation.clearing.js"></script>
  <script src="/html/js/foundation/foundation.cookie.js"></script>
  <script src="/html/js/foundation/foundation.dropdown.js"></script>
  <script src="/html/js/foundation/foundation.forms.js"></script>
  <script src="/html/js/foundation/foundation.joyride.js"></script>
  <script src="/html/js/foundation/foundation.magellan.js"></script>
  <script src="/html/js/foundation/foundation.orbit.js"></script>
  <script src="/html/js/foundation/foundation.placeholder.js"></script>
  <script src="/html/js/foundation/foundation.reveal.js"></script>
  <script src="/html/js/foundation/foundation.section.js"></script>
  <script src="/html/js/foundation/foundation.tooltips.js"></script>
  <script src="/html/js/foundation/foundation.topbar.js"></script>
  <script>
  $(document).foundation();
  </script>


</body>
</html>
